
#ifndef  __QUEUE_FRAME_H__
#define  __QUEUE_FRAME_H__

#include "debug.h"
#include "include_other.h"
#include "include_com.h"

#define  MAX_FRAME_SIZE_4K           (1*1024*1024)

typedef struct _mpp_buff_t {
	void*        data;
    unsigned int size;
    unsigned int w;
    unsigned int h;
    unsigned int pts;
} mpp_buff_t;

typedef struct _frame_data_t {

	mpp_buff_t  packet[MAX_FRAME_SIZE_4K]; 

    unsigned int rindex;
    unsigned int windex;

	int64_t      total;
	int64_t      remain;

} frame_data_t;



#endif

